package com.study.studyroom.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.study.studyroom.entity.bo.OptionBo;
import com.study.studyroom.entity.bo.RoomBo;
import com.study.studyroom.entity.vo.Condition;
import com.study.studyroom.entity.vo.room.RoomVo;

import java.util.List;


public interface RoomService {
    IPage<RoomBo> getRoom(Condition<RoomVo> condition);

    Integer addRoom(RoomVo roomVo);

    RoomBo updateRoom(RoomVo roomVo);

    RoomBo updateRoomStatus(Integer id);

    Integer deleteRoom(Integer id);

    List<OptionBo> getRoomByName(String name);
}
